function [z]=foo(x,y) 
z=sin(x)+cos(y);
endfunction; 